<template>
  <PageWrapper>
    <div class="main-content print-form">
      <div class="box box-main">
        <div class="box-header with-border">
          <!-- <div class="box-title"> <i class="fa icon-notebook"></i> 表格表单实例 </div> -->
          <!-- <div class="box-title pull-right w-55">
            <InputNumberItem
              title="字体大小: "
              event="FONT_SIZE"
              defaultValue="16"
              :formatter="formatValue"
              :min="12"
              :max="36"
              :step="2"
            />
          </div> -->
        </div>
        <div class="table-fdiv">
          <a-form
            :model="record"
            ref="formRef"
            name="basic"
            :label-col="{ span: 8 }"
            :wrapper-col="{ span: 16 }"
            autocomplete="off"
            @finish="onFinish"
            @finishFailed="onFinishFailed"
          >
            <table class="table-form">
              <tr>
                <td colspan="17" class="text-sm text-red-500">注：异常信息字体为红色</td>
              </tr>
              <tr>
                <td class="form-label" colspan="3" rowspan="2">
                  <a-image :width="80" :src="titleImg" />
                </td>
                <td class="form-label font-black text-xl" colspan="4" rowspan="2">工艺参数卡</td>
                <td class="form-label font-extrabold" colspan="4">产品名称</td>
                <td class="form-label font-extrabold" colspan="2">物料编码</td>
                <td class="form-label font-extrabold" colspan="2">上机时间</td>
                <td class="form-label font-extrabold" colspan="2">采集时间</td>
              </tr>
              <tr>
                <td class="form-label" colspan="4">
                  <!-- <a-form-item name="cinvname" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.cinvname" :bordered="true" />
                  </a-form-item> -->
                  {{ record.invName }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="cinvcode" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.cinvcode" />
                  </a-form-item> -->
                  {{ record.invCode }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="upDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.upDate" />
                  </a-form-item> -->
                  {{ record.upDate }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="cjData" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.cjData" />
                  </a-form-item> -->
                  {{ record.cjData }}
                </td>
              </tr>
              <tr>
                <td class="form-label font-extrabold" colspan="3">设备编号</td>
                <td class="form-label font-extrabold" colspan="2">模具编号</td>
                <td class="form-label font-extrabold" colspan="2">原料牌号</td>
                <td class="form-label font-extrabold" colspan="2">型腔数</td>
                <td class="form-label font-extrabold" colspan="2">开合模次数</td>
                <td class="form-label font-extrabold" colspan="2">操作人员</td>
                <td class="form-label font-extrabold" colspan="2">班组</td>
                <td class="form-label font-extrabold" colspan="2">版本号</td>
              </tr>
              <tr>
                <td colspan="3" class="form-label">
                  <a-form-item
                    name="sbbh"
                    :wrapper-col="{ offset: 0, span: 24 }"
                    :rules="[{ required: true, message: '请填写设备编号!' }]"
                  >
                    {{ record.code}}
                  </a-form-item>
                </td>
                <td class="form-label" colspan="2">
                  <a-form-item
                    name="moldCode"
                    :wrapper-col="{ offset: 0, span: 24 }"
                    :rules="[{ required: true, message: '请填写模具编号!' }]"
                  >
                    {{ record.moldCode}}
                  </a-form-item>
                </td>
                <td class="form-label" colspan="2">
                  {{ record.ylph }}
                </td>
                <td class="form-label" colspan="2">
                  {{ record.xqs }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="khmcs" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.khmcs" />
                  </a-form-item> -->
                  {{ record.khmcs }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="cmaker" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.cmaker" />
                  </a-form-item> -->
                  {{ record.cmaker }}
                </td>
                <td class="form-label" colspan="2">
                  <!-- <a-form-item name="teamName" :wrapper-col="{ offset: 0, span: 24 }">
                    <a-input v-model:value="record.teamName" />
                  </a-form-item> -->
                  {{ record.teamName }}
                </td>
                <td class="form-label" colspan="2">{{ record.verNum}}</td>
              </tr>
              <tr>
                <td colspan="17"></td>
              </tr>
              <tr>
                <td class="bg-green-100 font-extrabold" width="80">料桶温度℃</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="form-label font-bold">6段</td>
                <td class="form-label font-bold">7段</td>
                <td class="form-label font-bold">8段</td>
                <td class="bg-green-100 font-bold" width="150">周期</td>
                <td class="bg-green-100 form-label font-bold">射胶时间</td>
                <td class="bg-green-100 form-label font-bold">保压时间</td>
                <td class="bg-green-100 form-label font-bold">冷却时间</td>
                <td class="bg-green-100 form-label font-bold">开模时间</td>
                <td class="bg-green-100 form-label font-bold">取件时间</td>
                <td class="bg-green-100 form-label font-bold">闭模时间</td>
                <td class="bg-green-100 form-label font-bold">成型周期</td>
              </tr>
              <tr>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="ltwdBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz1" /> -->
                    {{ record.ltwdBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz2" /> -->
                      {{ record.ltwdBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz3" /> -->
                      {{ record.ltwdBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz4" /> -->
                      {{ record.ltwdBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz5" /> -->
                      {{ record.ltwdBz5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz6" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz6" /> -->
                      {{ record.ltwdBz6 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz7" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz7" /> -->
                      {{ record.ltwdBz7 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdBz8" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.ltwdBz8" /> -->
                      {{ record.ltwdBz8 }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="sjBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['sjBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.sjBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['byBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.byBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="lqBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['lqBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.lqBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="kmBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['kmBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.kmBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="qjBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['qjBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.qjBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bmBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['bmBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.bmBzDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="cxBzDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-date-picker
                      placeholder=""
                      v-model:value="record['cxBzDate']"
                      show-time
                      format="YYYY-MM-DD HH:mm"
                      value-format="YYYY-MM-DD HH:mm"
                    /> -->
                    {{ record.cxBzDate }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="ltwdSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.ltwdSd1"
                      ref="listSelectRef_ltwdSd1"
                      selectType="findGycsSelect"
                      :selectList="selectListRef_ltwdSd1"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('ltwdSd1', $event)"
                    /> -->
                    {{ record.ltwdSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ltwdSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ltwdSd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ltwdSd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ltwdSd5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd6" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.ltwdSd6"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('ltwdSd6', $event)"
                    /> -->
                    {{ record.ltwdSd6 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd7" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.ltwdSd7"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('ltwdSd7', $event)"
                    /> -->
                    {{ record.ltwdSd7 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="ltwdSd8" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.ltwdSd8"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('ltwdSd8', $event)"
                    /> -->
                    {{ record.ltwdSd8 }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="sjSdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.sjSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('sjSdDate', $event)"
                    /> -->
                    {{ record.sjSdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bySdDate" :wrapper-col="{ offset: 0, span: 24 }">

                    <!-- <ListSelect
                      :labelValue="record.bySdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('bySdDate', $event)"
                    /> -->
                    {{ record.bySdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="lqSdDate" :wrapper-col="{ offset: 0, span: 24 }">

                    <!-- <ListSelect
                      :labelValue="record.lqSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('lqSdDate', $event)"
                    /> -->
                    {{ record.lqSdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="kmSdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.kmSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('kmSdDate', $event)"
                    /> -->
                    {{ record.kmSdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="qjSdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.qjSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('qjSdDate', $event)"
                    /> -->
                    {{ record.qjSdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bmSdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.bmSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('bmSdDate', $event)"
                    /> -->
                    {{ record.bmSdDate }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="cxSdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <ListSelect
                      :labelValue="record.cxSdDate"
                      ref="listSelectRef"
                      selectType="findGycsSelect"
                      :params="{ tagname: record.sbbh }"
                      @select="onSelect('cxSdDate', $event)"
                    /> -->
                    {{ record.cxSdDate }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>实际值</td>
                <!--  -->
                <td class="form-label" :class="record['validateltwdBz1'] && record['validateltwdBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj1 }}
                </td>
                <td class="form-label"  :class="record['validateltwdBz2'] &&record['validateltwdBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj2 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz3'] &&record['validateltwdBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj3 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz4'] &&record['validateltwdBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj4 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz5'] &&record['validateltwdBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj5 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz6'] &&record['validateltwdBz6']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj6 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz7'] &&record['validateltwdBz7']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj7 }}
                </td>
                <td class="form-label" :class="record['validateltwdBz8'] &&record['validateltwdBz8']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.ltwdSj8 }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatesjBzDate'] &&record['validatesjBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                    {{ record.sjSjDate }}
                </td>
                <td class="form-label" :class="record['validatebyBzDate'] &&record['validatebyBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySjDate }}
                </td>
                <td class="form-label" :class="record['validatelqBzDate'] &&record['validatelqBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.lqSjDate }}
                </td>
                <td class="form-label" :class="record['validatekmBzDate'] &&record['validatekmBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.kmSjDate }}
                </td>
                <td class="form-label" :class="record['validateqjBzDate'] &&record['validateqjBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.qjSjDate }}
                </td>
                <td class="form-label" :class="record['validatebmBzDate'] &&record['validatebmBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bmSjDate }}
                </td>
                <td class="form-label" :class="record['validatecxBzDate'] &&record['validatecxBzDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.cxSjDate }}
                </td>
              </tr>
              <tr>
                <td colspan="17"></td>
              </tr>
              <tr>
                <td class="bg-green-100 font-extrabold" width="80">热流道温度</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="form-label font-bold">6段</td>
                <td class="form-label font-bold">7段</td>
                <td class="form-label font-bold">8段</td>
                <td class="form-label font-bold">9段</td>
                <td class="form-label font-bold">10段</td>
                <td class="form-label font-bold">11段</td>
                <td class="form-label font-bold">12段</td>
                <td class="form-label font-bold">13段</td>
                <td class="form-label font-bold">14段</td>
                <td class="form-label font-bold">15段</td>
                <td class="form-label font-bold">16段</td>
              </tr>
              <tr>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="rldwdBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz1" /> -->
                      {{ record.rldwdBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz2" /> -->
                      {{ record.rldwdBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz3" /> -->
                      {{ record.rldwdBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz4" /> -->
                      {{ record.rldwdBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz5" /> -->
                      {{ record.rldwdBz5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz6" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz6" /> -->
                      {{ record.rldwdBz6 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz7" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz7" /> -->
                      {{ record.rldwdBz7 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz8" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz8" /> -->
                      {{ record.rldwdBz8 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz9" :wrapper-col="{ offset: 0, span: 24 }">
                    <!-- <a-input v-model:value="record.rldwdBz9" /> -->
                      {{ record.rldwdBz9 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz10" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz10 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz11" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz11 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz12" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz12 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz13" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz13 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz14" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz14 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz15" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz15 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdBz16" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdBz16 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="rldwdSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd6 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd7" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd7 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd8" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd8 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd9" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd9 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd10" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd10 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd11" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd11 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd12" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd12 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd13" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd13 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd14" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd14 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd15" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd15 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="rldwdSd16" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rldwdSd16 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>实际值</td>
                <td class="form-label" :class="record['validaterldwdBz1'] &&record['validaterldwdBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj1 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz2'] &&record['validaterldwdBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj2 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz3'] &&record['validaterldwdBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj3 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz4'] &&record['validaterldwdBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj4 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz5'] &&record['validaterldwdBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj5 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz6'] &&record['validaterldwdBz6']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj6 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz7'] &&record['validaterldwdBz7']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj7 }} 
                </td>
                <td class="form-label" :class="record['validaterldwdBz8'] &&record['validaterldwdBz8']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj8 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz9'] &&record['validaterldwdBz9']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj9 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz10'] &&record['validaterldwdBz10']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj10 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz11'] &&record['validaterldwdBz11']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj11 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz12'] &&record['validaterldwdBz12']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj12 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz13'] &&record['validaterldwdBz13']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj13 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz14'] &&record['validaterldwdBz14']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj14 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz15'] &&record['validaterldwdBz15']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj15 }}
                </td>
                <td class="form-label" :class="record['validaterldwdBz16'] &&record['validaterldwdBz16']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rldwdSj16 }}
                </td>
              </tr>
              <tr>
                <td colspan="17"></td>
              </tr>
              <tr>
                <td class="bg-green-100 font-extrabold form-label" colspan="6">*溶胶部分</td>
                <td class="bg-green-100 font-extrabold form-label" colspan="7">*射胶部分</td>
                <td class="bg-green-100 font-extrabold form-label" colspan="4">*保压部分</td>
              </tr>
              <tr>
                <td>压力Mpa</td>
                <td colspan="5" class="form-label font-bold">溶胶压力</td>
                <td>压力Mpa</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="form-label font-bold">6段</td>
                <td>压力Mpa</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
              </tr>
              <tr>
                <td>标准</td>
                <td colspan="5" class="form-label">
                  <a-form-item name="rjylBz" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjylBz }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="sjylBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylBz6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylBz6 }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="byylBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byylBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byylBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylBz3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>设定值</td>
                <td colspan="5" class="form-label">
                  <a-form-item name="rjylSd" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjylSd }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="sjylSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylSd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylSd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjylSd6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjylSd6 }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="byylSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byylSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byylSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byylSd3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>实际值</td>
                <td colspan="5" class="form-label">溶胶终点</td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatesjylBz1'] &&record['validatersjylBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj1 }}
                </td>
                <td class="form-label" :class="record['validatesjylBz2'] &&record['validatersjylBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj2 }}
                </td>
                <td class="form-label"  :class="record['validatesjylBz3'] &&record['validatersjylBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj3 }}
                </td>
                <td class="form-label"  :class="record['validatesjylBz4'] &&record['validatersjylBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj4 }}
                </td>
                <td class="form-label"  :class="record['validatesjylBz5'] &&record['validatersjylBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj5 }}
                </td>
                <td class="form-label"  :class="record['validatesjylBz6'] &&record['validatersjylBz6']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjylSj6 }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatebyylBz1'] &&record['validatebyylBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.byylSj1 }}
                </td>
                <td class="form-label" :class="record['validatebyylBz2'] &&record['validatebyylBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.byylSj2 }}
                </td>
                <td class="form-label" :class="record['validatebyylBz3'] &&record['validatebyylBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.byylSj3 }}
                </td>
              </tr>
              <tr>
                <td>速度mm/s</td>
                <td class="form-label font-bold" colspan="5">速度</td>
                <td>速度mm/s</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="form-label font-bold">6段</td>
                <td>速度mm/s</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
              </tr>
              <tr>
                <td>标准</td>
                <td class="form-label" colspan="5">
                  <a-form-item name="rjsdBz" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjsdBz }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="sjsdBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdBz6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdBz6 }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="bysdBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysdBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysdBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdBz3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>设定值</td>
                <td class="form-label" colspan="5">
                  <a-form-item name="rjsdSd" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjsdSd }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="sjsdSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdSd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdSd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjsdSd6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjsdSd6 }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="bysdSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysdSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysdSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysdSd3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>实际值</td>
                <td class="form-label" colspan="5"  :class="record['validaterjsdBz'] &&record['validaterjsdBz']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rjsdSj }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatesjsdBz1'] &&record['validatesjsdBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj1 }}
                </td>
                <td class="form-label" :class="record['validatesjsdBz2'] &&record['validatesjsdBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj2 }}
                </td>
                <td class="form-label" :class="record['validatesjsdBz3'] &&record['validatesjsdBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj3 }}
                </td>
                <td class="form-label" :class="record['validatesjsdBz4'] &&record['validatesjsdBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj4 }}
                </td>
                <td class="form-label" :class="record['validatesjsdBz5'] &&record['validatesjsdBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj5 }}
                </td>
                <td class="form-label" :class="record['validatesjsdBz6'] &&record['validatesjsdBz6']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjsdSj6 }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatebysdBz1'] &&record['validatebysdBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysdSj1 }}
                </td>
                <td class="form-label" :class="record['validatebysdBz2'] &&record['validatebysdBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysdSj2 }}
                </td>
                <td class="form-label" :class="record['validatebysdBz3'] &&record['validatebysdBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysdSj3 }}
                </td>
              </tr>
              <tr>
                <td>位置mm</td>
                <td colspan="5" class="form-label font-bold">位置</td>
                <td>位置mm</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="form-label font-bold">6段</td>
                <td>时间s</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
              </tr>
              <tr>
                <td>标准</td>
                <td colspan="5" class="form-label">
                  <a-form-item name="rjwzBz" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjwzBz }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="sjwzBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzBz6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzBz6 }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="bysjBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysjBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysjBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjBz3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>设定值</td>
                <td colspan="5" class="form-label">
                  <a-form-item name="rjwzSd" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.rjwzSd }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="sjwzSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzSd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzSd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd5 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="sjwzSd6" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sjwzSd6 }}
                  </a-form-item>
                </td>
                <td>设定值</td>
                <td class="form-label">
                  <!--  -->
                  <a-form-item name="bysjSd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjSd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysjSd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjSd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bysjSd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bysjSd3 }}
                  </a-form-item>
                </td>
              </tr>
              <tr>
                <td>实际值</td>
                <td colspan="5" class="form-label"  :class="record['validaterjwzBz'] &&record['validaterjwzBz']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.rjwzSj }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatesjwzBz1'] &&record['validatesjwzBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj1 }}
                </td>
                <td class="form-label" :class="record['validatesjwzBz2'] &&record['validatesjwzBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj2 }}
                </td>
                <td class="form-label" :class="record['validatesjwzBz3'] &&record['validatesjwzBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj3 }}
                </td>
                <td class="form-label" :class="record['validatesjwzBz4'] &&record['validatesjwzBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj4 }}
                </td>
                <td class="form-label" :class="record['validatesjwzBz5'] &&record['validatesjwzBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj5 }}
                </td>
                <td class="form-label" :class="record['validatesjwzBz6'] &&record['validatesjwzBz6']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sjwzSj6 }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatebysjBz1'] &&record['validatebysjBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysjSj1 }}
                </td>
                <td class="form-label" :class="record['validatebysjBz2'] &&record['validatebysjBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysjSj2 }}
                </td>
                <td class="form-label"  :class="record['validatebysjBz3'] &&record['validatebysjBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bysjSj3 }}
                </td>
              </tr>
              <tr>
                <td class="font-extrabold bg-green-100">背压Mpa</td>
                <td class="form-label font-bold">1段</td>
                <td class="form-label font-bold">2段</td>
                <td class="form-label font-bold">3段</td>
                <td class="form-label font-bold">4段</td>
                <td class="form-label font-bold">5段</td>
                <td class="font-extrabold bg-green-100 form-label" colspan="3">设备预热时间</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td class="font-extrabold bg-green-100 form-label">油温</td>
                <td></td>
                <td></td>
                <td></td>
              </tr>
              <tr>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="byBz1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byBz1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byBz2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byBz2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byBz3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byBz3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byBz4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byBz4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="byBz5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.byBz5 }}
                  </a-form-item>
                </td>
                <td></td>
                <td>{{ jj }}</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="ywBz" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ywBz }}
                  </a-form-item>
                </td>
                <td></td>
                <td></td>
              </tr>
              <tr>
                <td>设定值</td>
                <td class="form-label">
                  <a-form-item name="bySd1" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bySd1 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bySd2" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bySd2 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bySd3" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bySd3 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bySd4" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bySd4 }}
                  </a-form-item>
                </td>
                <td class="form-label">
                  <a-form-item name="bySd5" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.bySd5 }}
                  </a-form-item>
                </td>
                <td>标准</td>
                <td class="form-label">
                  <a-form-item name="sbyrdDate" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.sbyrdDate }}
                  </a-form-item>
                </td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td>实际值</td>
                <td class="form-label">
                  <a-form-item name="ywSj" :wrapper-col="{ offset: 0, span: 24 }">
                    {{ record.ywSj }}
                  </a-form-item>
                </td>
                <td></td>
                <td></td>
              </tr>
              <tr>
                <td>实际值</td>
                <td class="form-label" :class="record['validatebyBz1'] &&record['validatebyBz1']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySj1 }}
                </td>
                <td class="form-label" :class="record['validatebyBz2'] &&record['validatebyBz2']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySj2 }}
                </td>
                <td class="form-label" :class="record['validatebyBz3'] &&record['validatebyBz3']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySj3 }}
                </td>
                <td class="form-label" :class="record['validatebyBz4'] &&record['validatebyBz4']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySj4 }}
                </td>
                <td class="form-label" :class="record['validatebyBz5'] &&record['validatebyBz5']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.bySj5 }}
                </td>
                <td>实际值</td>
                <td class="form-label" :class="record['validatesbyrdDate'] &&record['validatesbyrdDate']!=0 ? 'text-xl text-bold text-red-500': ''">
                  {{ record.sbyrSjDate }}
                </td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
              </tr>
            </table>
            <!-- <div class="form-actions" v-if="showButton">
              <a-form-item :wrapper-col="{ offset: 2, span: 16 }">
                <a-button type="primary" html-type="submit">提交</a-button>
              </a-form-item>
            </div> -->
          </a-form>
        </div>
      </div>
    </div>
  </PageWrapper>
</template>
<script lang="ts">
  import { Image, Form, Input, FormItem, DatePicker } from 'ant-design-vue';
  // import 'ant-design-vue/dist/reset.css';
  // 引入样式
  export default defineComponent({
    name: 'ViewsMesCardForm',
    components: {
      AImage: Image,
      AForm: Form,
      AInput: Input,
      AFormItem: FormItem,
      ADatePicker: DatePicker,
    },
  });
</script>
<script lang="ts" setup>
  import { defineComponent, reactive, ref, onMounted } from 'vue';
  import { PageWrapper } from '/@/components/Page';
  import { useMessage } from '/@/hooks/web/useMessage';
  import { BasicDrawer, useDrawerInner } from '/@/components/Drawer';
  import titleImg from '/@/assets/images/title.png';
  import { ListSelect } from '/@/components/ListSelect';
  import { router } from '/@/router';
  import {
    kstMesProCardDataSave,
    kstMesProCardDataForm2,
    KstMesProCardData
  } from '/@/api/mes/card/kstMesProCardData';
   import { dictDataListData } from '/@/api/sys/dictData';
  const emit = defineEmits(['success', 'register']);
  const selectListRef = ref<Recordable[]>([]);
  const selectListRef_ltwdSd1 = ref<Recordable[]>([]);

  console.log('router.currentRoute.value.name==', router.currentRoute.value.params.id);

  const { showMessage } = useMessage();
  const listSelectRef = ref<any>(null);
  const showButton = ref(true);
  const record = ref<KstMesProCardData>({} as KstMesProCardData);
  const month = ref<string>(new Date().getMonth() + 1);
  const jj = ref<string>('');

  onMounted(async () => {
    console.log('router.currentRoute.value.name==', router.currentRoute.value.params.id);
    const data = router.currentRoute.value.params;
    const res = await kstMesProCardDataForm2(data);
    record.value = (res.kstMesProCardData || {}) as KstMesProCardData;
    const getMothData = await dictDataListData({ dictType: 'mes_zs_moth' });
    jj.value = getMothData.find((item: any) => item.dictValue == month.value)['dictLabel'];
  });
  const [registerDrawer, { setDrawerProps, closeDrawer }] = useDrawerInner(async (data) => {
    showButton.value = true;
    setDrawerProps({ loading: true });
    // await resetFields();
    const res = await kstMesProCardDataForm2(data);
    console.log('res==', res.kstMesProCardData);
    record.value = (res.kstMesProCardData || {}) as KstMesProCardData;
    console.log('record==', record.value);
    record.value.__t = new Date().getTime();
    // list 回显,遍历record 判断key值
    for (const key in record.value) {
      // 如果key 和 selectListRef_ltwdSd1 的 ltwdSd1 相同，给 selectListRef_ltwdSd1 加入值
      if (key == 'ltwdSd1') {
        selectListRef_ltwdSd1.value.push({
          id: record.value[key],
          tagname: record.value[key],
        });
        console.log('selectListRef_ltwdSd1.value==', selectListRef_ltwdSd1.value);
      }
    }
    if(data.marks == 'copy'){
      record.value.id = '';
      record.value.isNewRecord = true;
      record.value.moldCode = '';
      record.value.sbbh = '';
    }
    setDrawerProps({ loading: false });
  });
  const onFinish = async (values: any) => {
    try {
      setDrawerProps({ confirmLoading: true });
      const params: any = {
        isNewRecord: record.value.isNewRecord,
        id: record.value.id,
      };
      console.log('submit', params, values, record);
      const res = await kstMesProCardDataSave(params, values);
      showMessage(res.message);
      setTimeout(closeDrawer);
      emit('success', values);
    } catch (error: any) {
      if (error && error.errorFields) {
        showMessage(t('您填写的信息有误，请根据提示修正。'));
      }
      console.log('error', error);
    } finally {
      setDrawerProps({ confirmLoading: false });
    }
  };

  const onFinishFailed = (errorInfo: any) => {
    console.log('Failed:', errorInfo);
  };
  const onClose = () => {
    closeDrawer();
    showButton.value = false;
  };
  const onSelect = (field: string, values: Recordable[]) => {
    console.log('values==', values, field);
    record.value[field] = values[0].tagname;
  };
</script>
<style scoped>
  :root {
    --global-font-size: 16px; /* 定义一个全局字体大小变量 */
  }
  .box-header {
    display: flex;
    justify-content: flex-end;
  }
  .table-fdiv {
    min-width: 600px;
    max-width: 100%;
    margin: 0 auto;
    font-size: var(--global-font-size);
  }
  .table-fdiv h3 {
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
  }

  .table-fdiv table {
    width: 100%;
    font-size: var(--global-font-size);
  }

  .table-fdiv .form-actions {
    padding-left: 0 !important;
    padding: 15px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 99999;
    right: 30px;
  }

  .table-form {
    border-collapse: collapse;
    border-spacing: 0;
  }

  .table-form td {
    padding: 6px;
    border: 1px solid #ddd;
    min-width: 30%;
    position: relative;
  }

  .table-form .form-title {
    background-color: #f5f5f5;
    color: #466172;
    font-weight: bold;
    height: 35px;
  }

  .table-form .form-label {
    position: static;
    text-align: center;
    padding: 13px;
    min-width: 20%;
  }

  .table-form .form-label .required {
    color: #e02222;
  }

  .table-form input,
  .table-form select,
  .table-form textarea,
  .table-form .form-control,
  .table-form .select2-selection {
    border: 0;
    background-color: transparent;
    resize: none;
    box-shadow: none;
    border-radius: 0;
  }

  .table-form .form-control:focus,
  .table-form .select2-container--default.select2-container--focus .select2-selection--single,
  .table-form .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0;
    border-bottom: 1px dotted #cdcdcd !important;
    box-shadow: none;
  }

  .table-form .select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: -3px;
  }

  .table-form .form-control[readonly]:focus {
    border-bottom: 0 !important;
  }

  .table-form .input-group-btn > .btn {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #888;
  }

  .table-form .input-group-btn > .btn {
    height: 20px;
    padding: 0 6px 0 7px;
  }

  .table-form .icheck label {
    line-height: 28px;
  }

  .table-form .ui-jqgrid td {
    padding: 0;
    border: 0;
  }

  .table-form .ui-jqgrid tr.ui-row-ltr td input,
  .table-form .ui-jqgrid tr.ui-row-ltr td select,
  .table-form .ui-jqgrid tr.ui-row-ltr td textarea,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr td,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr td input,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr td select,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr td textarea,
  .table-form .ui-jqgrid tr.ui-row-ltr.ui-priority-secondary td input,
  .table-form .ui-jqgrid tr.ui-row-ltr.ui-priority-secondary td select,
  .table-form .ui-jqgrid tr.ui-row-ltr.ui-priority-secondary td textarea,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr.ui-priority-secondary td,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr.ui-priority-secondary td input,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr.ui-priority-secondary td select,
  .table-form .ui-jqgrid tr.ui-state-highlight.ui-row-ltr.ui-priority-secondary td textarea {
    background-color: transparent !important;
  }

  .table-form .ui-jqgrid tr.ui-state-highlight {
    background-color: #f6fbff !important;
  }
  .ant-form-item {
    margin-bottom: 0 !important;
  }
  .ant-input {
    border: 1px solid #ddd !important;
  }
  .text-sm {
    font-size: 12px !important;
    font-weight: normal !important;
  }
</style>

